package example;

public class Plot3 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int runs = 10;
		String[] arguments2 = new String[2];
		String[] arguments3 = new String[3];
		String[] scoreArgs = new String[4];

		//fingerprintingNN part
		for(int i = 1;i <= runs; i++){
			arguments2[0] = String.valueOf(100);
			arguments2[1] = String.valueOf(i);
			fingerprintingNN.main(arguments2);
			scoreArgs[0] = "fingerprintingNN.txt";
			scoreArgs[1] = "scoreFingerNN.txt";
			scoreArgs[2] = "median_fingerprintingNN.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}
		
		//fingerprintingKNN part
		for(int i = 1;i <= runs; i++){
			arguments3[0] = String.valueOf(3);
			arguments3[1] = String.valueOf(100);
			arguments3[2] = String.valueOf(i);
			fingerprintingKNN.main(arguments3);
			scoreArgs[0] = "fingerprintingKNN.txt";
			scoreArgs[1] = "scoreFingerKNN.txt";
			scoreArgs[2] = "median_fingerprintingKNN.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}
		
		//modelNN part
		
		for(int i = 1;i <= runs; i++){
			arguments2[0] = String.valueOf(100);
			arguments2[1] = String.valueOf(i);
			ModelNN.main(arguments2);
			scoreArgs[0] = "modelNN.txt";
			scoreArgs[1] = "scoreModelNN.txt";
			scoreArgs[2] = "median_modelNN.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}
		
		//modelKNN part
		for(int i = 1;i <= runs; i++){
			arguments3[0] = String.valueOf(3);
			arguments3[1] = String.valueOf(100);
			arguments3[2] = String.valueOf(i);
			ModelKNN.main(arguments3);
			scoreArgs[0] = "modelKNN.txt";
			scoreArgs[1] = "scoreModelNN.txt";
			scoreArgs[2] = "median_ModelKNN.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}

	}

}
